home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 21 / CU Amiga Magazine's Super CD-ROM 21 (1998)(EMAP Images)(GB)[!][issue 1998-04].iso / CUCD / Utilities / PGP / source / pgp50i-b8a / src / configure < prev    next >
Encoding:
Text File  |  1998-01-04  |  60.9 KB  |  2,005 lines

  1. #! /bin/sh
  2.  
  3. # Guess values for system-dependent variables and create Makefiles.
  4. # Generated automatically using autoconf version 2.12 
  5. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  6. #
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. #
  10. # Modified by Stefan Zakarias <stef@amitar.com.au>, 18/DEC/1997,
  11. # for use with the Geek Gadgets ADE. (Amiga Developer Environment).
  12.  
  13. # Defaults:
  14. ac_help=
  15. ac_default_prefix=/usr/local
  16. # Any additions from configure.in:
  17.  
  18. # Initialize some variables set by options.
  19. # The variables have the same names as the options, with
  20. # dashes changed to underlines.
  21. build=NONE
  22. cache_file=./config.cache
  23. exec_prefix=NONE
  24. host=NONE
  25. no_create=
  26. nonopt=NONE
  27. no_recursion=
  28. prefix=NONE
  29. program_prefix=NONE
  30. program_suffix=NONE
  31. program_transform_name=s,x,x,
  32. silent=
  33. site=
  34. srcdir=
  35. target=NONE
  36. verbose=
  37. x_includes=NONE
  38. x_libraries=NONE
  39. bindir='${exec_prefix}/bin'
  40. sbindir='${exec_prefix}/sbin'
  41. libexecdir='${exec_prefix}/libexec'
  42. datadir='${prefix}/share'
  43. sysconfdir='${prefix}/etc'
  44. sharedstatedir='${prefix}/com'
  45. localstatedir='${prefix}/var'
  46. libdir='${exec_prefix}/lib'
  47. includedir='${prefix}/include'
  48. oldincludedir='/usr/include'
  49. infodir='${prefix}/info'
  50. mandir='${prefix}/man'
  51.  
  52. # Initialize some other variables.
  53. subdirs=
  54. MFLAGS= MAKEFLAGS=
  55. # Maximum number of lines to put in a shell here document.
  56. ac_max_here_lines=12
  57.  
  58. ac_prev=
  59. for ac_option
  60. do
  61.  
  62.   # If the previous option needs an argument, assign it.
  63.   if test -n "$ac_prev"; then
  64.     eval "$ac_prev=\$ac_option"
  65.     ac_prev=
  66.     continue
  67.   fi
  68.  
  69.   case "$ac_option" in
  70.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  71.   *) ac_optarg= ;;
  72.   esac
  73.  
  74.   # Accept the important Cygnus configure options, so we can diagnose typos.
  75.  
  76.   case "$ac_option" in
  77.  
  78.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  79.     ac_prev=bindir ;;
  80.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  81.     bindir="$ac_optarg" ;;
  82.  
  83.   -build | --build | --buil | --bui | --bu)
  84.     ac_prev=build ;;
  85.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  86.     build="$ac_optarg" ;;
  87.  
  88.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  89.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  90.     ac_prev=cache_file ;;
  91.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  92.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  93.     cache_file="$ac_optarg" ;;
  94.  
  95.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  96.     ac_prev=datadir ;;
  97.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  98.   | --da=*)
  99.     datadir="$ac_optarg" ;;
  100.  
  101.   -disable-* | --disable-*)
  102.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  103.     # Reject names that are not valid shell variable names.
  104.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  105.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  106.     fi
  107.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  108.     eval "enable_${ac_feature}=no" ;;
  109.  
  110.   -enable-* | --enable-*)
  111.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  112.     # Reject names that are not valid shell variable names.
  113.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  114.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  115.     fi
  116.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  117.     case "$ac_option" in
  118.       *=*) ;;
  119.       *) ac_optarg=yes ;;
  120.     esac
  121.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  122.  
  123.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  124.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  125.   | --exec | --exe | --ex)
  126.     ac_prev=exec_prefix ;;
  127.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  128.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  129.   | --exec=* | --exe=* | --ex=*)
  130.     exec_prefix="$ac_optarg" ;;
  131.  
  132.   -gas | --gas | --ga | --g)
  133.     # Obsolete; use --with-gas.
  134.     with_gas=yes ;;
  135.  
  136.   -help | --help | --hel | --he)
  137.     # Omit some internal or obsolete options to make the list less imposing.
  138.     # This message is too long to be a string in the A/UX 3.1 sh.
  139.     cat << EOF
  140. Usage: configure [options] [host]
  141. Options: [defaults in brackets after descriptions]
  142. Configuration:
  143.   --cache-file=FILE       cache test results in FILE
  144.   --help                  print this message
  145.   --no-create             do not create output files
  146.   --quiet, --silent       do not print \`checking...' messages
  147.   --version               print the version of autoconf that created configure
  148. Directory and file names:
  149.   --prefix=PREFIX         install architecture-independent files in PREFIX
  150.                           [$ac_default_prefix]
  151.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  152.                           [same as prefix]
  153.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  154.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  155.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  156.   --datadir=DIR           read-only architecture-independent data in DIR
  157.                           [PREFIX/share]
  158.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  159.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  160.                           [PREFIX/com]
  161.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  162.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  163.   --includedir=DIR        C header files in DIR [PREFIX/include]
  164.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  165.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  166.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  167.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  168.   --program-prefix=PREFIX prepend PREFIX to installed program names
  169.   --program-suffix=SUFFIX append SUFFIX to installed program names
  170.   --program-transform-name=PROGRAM
  171.                           run sed PROGRAM on installed program names
  172. EOF
  173.     cat << EOF
  174. Host type:
  175.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  176.   --host=HOST             configure for HOST [guessed]
  177.   --target=TARGET         configure for TARGET [TARGET=HOST]
  178. Features and packages:
  179.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  180.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  181.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  182.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  183.   --x-includes=DIR        X include files are in DIR
  184.   --x-libraries=DIR       X library files are in DIR
  185. EOF
  186.     if test -n "$ac_help"; then
  187.       echo "--enable and --with options recognized:$ac_help"
  188.     fi
  189.     exit 0 ;;
  190.  
  191.   -host | --host | --hos | --ho)
  192.     ac_prev=host ;;
  193.   -host=* | --host=* | --hos=* | --ho=*)
  194.     host="$ac_optarg" ;;
  195.  
  196.   -includedir | --includedir | --includedi | --included | --include \
  197.   | --includ | --inclu | --incl | --inc)
  198.     ac_prev=includedir ;;
  199.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  200.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  201.     includedir="$ac_optarg" ;;
  202.  
  203.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  204.     ac_prev=infodir ;;
  205.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  206.     infodir="$ac_optarg" ;;
  207.  
  208.   -libdir | --libdir | --libdi | --libd)
  209.     ac_prev=libdir ;;
  210.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  211.     libdir="$ac_optarg" ;;
  212.  
  213.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  214.   | --libexe | --libex | --libe)
  215.     ac_prev=libexecdir ;;
  216.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  217.   | --libexe=* | --libex=* | --libe=*)
  218.     libexecdir="$ac_optarg" ;;
  219.  
  220.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  221.   | --localstate | --localstat | --localsta | --localst \
  222.   | --locals | --local | --loca | --loc | --lo)
  223.     ac_prev=localstatedir ;;
  224.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  225.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  226.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  227.     localstatedir="$ac_optarg" ;;
  228.  
  229.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  230.     ac_prev=mandir ;;
  231.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  232.     mandir="$ac_optarg" ;;
  233.  
  234.   -nfp | --nfp | --nf)
  235.     # Obsolete; use --without-fp.
  236.     with_fp=no ;;
  237.  
  238.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  239.   | --no-cr | --no-c)
  240.     no_create=yes ;;
  241.  
  242.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  243.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  244.     no_recursion=yes ;;
  245.  
  246.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  247.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  248.   | --oldin | --oldi | --old | --ol | --o)
  249.     ac_prev=oldincludedir ;;
  250.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  251.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  252.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  253.     oldincludedir="$ac_optarg" ;;
  254.  
  255.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  256.     ac_prev=prefix ;;
  257.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  258.     prefix="$ac_optarg" ;;
  259.  
  260.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  261.   | --program-pre | --program-pr | --program-p)
  262.     ac_prev=program_prefix ;;
  263.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  264.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  265.     program_prefix="$ac_optarg" ;;
  266.  
  267.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  268.   | --program-suf | --program-su | --program-s)
  269.     ac_prev=program_suffix ;;
  270.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  271.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  272.     program_suffix="$ac_optarg" ;;
  273.  
  274.   -program-transform-name | --program-transform-name \
  275.   | --program-transform-nam | --program-transform-na \
  276.   | --program-transform-n | --program-transform- \
  277.   | --program-transform | --program-transfor \
  278.   | --program-transfo | --program-transf \
  279.   | --program-trans | --program-tran \
  280.   | --progr-tra | --program-tr | --program-t)
  281.     ac_prev=program_transform_name ;;
  282.   -program-transform-name=* | --program-transform-name=* \
  283.   | --program-transform-nam=* | --program-transform-na=* \
  284.   | --program-transform-n=* | --program-transform-=* \
  285.   | --program-transform=* | --program-transfor=* \
  286.   | --program-transfo=* | --program-transf=* \
  287.   | --program-trans=* | --program-tran=* \
  288.   | --progr-tra=* | --program-tr=* | --program-t=*)
  289.     program_transform_name="$ac_optarg" ;;
  290.  
  291.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  292.   | -silent | --silent | --silen | --sile | --sil)
  293.     silent=yes ;;
  294.  
  295.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  296.     ac_prev=sbindir ;;
  297.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  298.   | --sbi=* | --sb=*)
  299.     sbindir="$ac_optarg" ;;
  300.  
  301.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  302.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  303.   | --sharedst | --shareds | --shared | --share | --shar \
  304.   | --sha | --sh)
  305.     ac_prev=sharedstatedir ;;
  306.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  307.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  308.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  309.   | --sha=* | --sh=*)
  310.     sharedstatedir="$ac_optarg" ;;
  311.  
  312.   -site | --site | --sit)
  313.     ac_prev=site ;;
  314.   -site=* | --site=* | --sit=*)
  315.     site="$ac_optarg" ;;
  316.  
  317.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  318.     ac_prev=srcdir ;;
  319.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  320.     srcdir="$ac_optarg" ;;
  321.  
  322.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  323.   | --syscon | --sysco | --sysc | --sys | --sy)
  324.     ac_prev=sysconfdir ;;
  325.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  326.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  327.     sysconfdir="$ac_optarg" ;;
  328.  
  329.   -target | --target | --targe | --targ | --tar | --ta | --t)
  330.     ac_prev=target ;;
  331.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  332.     target="$ac_optarg" ;;
  333.  
  334.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  335.     verbose=yes ;;
  336.  
  337.   -version | --version | --versio | --versi | --vers)
  338.     echo "configure generated by autoconf version 2.12"
  339.     exit 0 ;;
  340.  
  341.   -with-* | --with-*)
  342.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  343.     # Reject names that are not valid shell variable names.
  344.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  345.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  346.     fi
  347.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  348.     case "$ac_option" in
  349.       *=*) ;;
  350.       *) ac_optarg=yes ;;
  351.     esac
  352.     eval "with_${ac_package}='$ac_optarg'" ;;
  353.  
  354.   -without-* | --without-*)
  355.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  356.     # Reject names that are not valid shell variable names.
  357.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  358.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  359.     fi
  360.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  361.     eval "with_${ac_package}=no" ;;
  362.  
  363.   --x)
  364.     # Obsolete; use --with-x.
  365.     with_x=yes ;;
  366.  
  367.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  368.   | --x-incl | --x-inc | --x-in | --x-i)
  369.     ac_prev=x_includes ;;
  370.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  371.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  372.     x_includes="$ac_optarg" ;;
  373.  
  374.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  375.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  376.     ac_prev=x_libraries ;;
  377.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  378.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  379.     x_libraries="$ac_optarg" ;;
  380.  
  381.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  382.     ;;
  383.  
  384.   *)
  385.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  386.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  387.     fi
  388.     if test "x$nonopt" != xNONE; then
  389.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  390.     fi
  391.     nonopt="$ac_option"
  392.     ;;
  393.  
  394.   esac
  395. done
  396.  
  397. if test -n "$ac_prev"; then
  398.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  399. fi
  400.  
  401. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  402.  
  403. # File descriptor usage:
  404. # 0 standard input
  405. # 1 file creation
  406. # 2 errors and warnings
  407. # 3 some systems may open it to /dev/tty
  408. # 4 used on the Kubota Titan
  409. # 6 checking for... messages and results
  410. # 5 compiler messages saved in config.log
  411. if test "$silent" = yes; then
  412.   exec 6>/dev/null
  413. else
  414.   exec 6>&1
  415. fi
  416. exec 5>./config.log
  417.  
  418. echo "\
  419. This file contains any messages produced by compilers while
  420. running configure, to aid debugging if configure makes a mistake.
  421. " 1>&5
  422.  
  423. # Strip out --no-create and --no-recursion so they do not pile up.
  424. # Also quote any args containing shell metacharacters.
  425. ac_configure_args=
  426. for ac_arg
  427. do
  428.   case "$ac_arg" in
  429.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  430.   | --no-cr | --no-c) ;;
  431.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  432.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  433.   *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  434.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  435.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  436.   esac
  437. done
  438.  
  439. # NLS nuisances.
  440. # Only set these to C if already set.  These must not be set unconditionally
  441. # because not all systems understand e.g. LANG=C (notably SCO).
  442. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  443. # Non-C LC_CTYPE values break the ctype check.
  444. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  445. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  446. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  447. if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  448.  
  449. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  450. rm -rf conftest* confdefs.h
  451. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  452. echo > confdefs.h
  453.  
  454. # A filename unique to this package, relative to the directory that
  455. # configure is in, which we can look for to find out if srcdir is correct.
  456. ac_unique_file=lib/pgp/pipe/utils/pgpPipeline.h
  457.  
  458. # Find the source files, if location was not specified.
  459. if test -z "$srcdir"; then
  460.   ac_srcdir_defaulted=yes
  461.   # Try the directory containing this script, then its parent.
  462.   ac_prog=$0
  463.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  464.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  465.   srcdir=$ac_confdir
  466.   if test ! -r $srcdir/$ac_unique_file; then
  467.     srcdir=..
  468.   fi
  469. else
  470.   ac_srcdir_defaulted=no
  471. fi
  472. if test ! -r $srcdir/$ac_unique_file; then
  473.   if test "$ac_srcdir_defaulted" = yes; then
  474.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  475.   else
  476.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  477.   fi
  478. fi
  479. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  480.  
  481. # Prefer explicitly selected file to automatically selected ones.
  482. if test -z "$CONFIG_SITE"; then
  483.   if test "x$prefix" != xNONE; then
  484.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  485.   else
  486.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  487.   fi
  488. fi
  489. for ac_site_file in $CONFIG_SITE; do
  490.   if test -r "$ac_site_file"; then
  491.     echo "loading site script $ac_site_file"
  492.     . "$ac_site_file"
  493.   fi
  494. done
  495.  
  496. if test -r "$cache_file"; then
  497.   echo "loading cache $cache_file"
  498.   . $cache_file
  499. else
  500.   echo "creating cache $cache_file"
  501.   > $cache_file
  502. fi
  503.  
  504. ac_ext=c
  505. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  506. ac_cpp='$CPP $CPPFLAGS'
  507. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  508. ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  509. cross_compiling=$ac_cv_prog_cc_cross
  510.  
  511. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  512.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  513.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  514.     ac_n= ac_c='
  515. ' ac_t='    '
  516.   else
  517.     ac_n=-n ac_c= ac_t=
  518.   fi
  519. else
  520.   ac_n= ac_c='\c' ac_t=
  521. fi
  522.  
  523.  
  524.  
  525.  
  526.  
  527. ac_aux_dir=
  528. for ac_dir in config $srcdir/config; do
  529.   if test -f $ac_dir/install-sh; then
  530.     ac_aux_dir=$ac_dir
  531.     ac_install_sh="$ac_aux_dir/install-sh -c"
  532.     break
  533.   elif test -f $ac_dir/install.sh; then
  534.     ac_aux_dir=$ac_dir
  535.     ac_install_sh="$ac_aux_dir/install.sh -c"
  536.     break
  537.   fi
  538. done
  539. if test -z "$ac_aux_dir"; then
  540.   { echo "configure: error: can not find install-sh or install.sh in config $srcdir/config" 1>&2; exit 1; }
  541. fi
  542. ac_config_guess=$ac_aux_dir/config.guess
  543. ac_config_sub=$ac_aux_dir/config.sub
  544. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  545.  
  546.  
  547. # Find a compiler to use.
  548. # Check 1) The $CC environment varaible, 2) gcc, 3) acc, and 4) cc.
  549. # This deals with brain-damaged Sun systems that place a bogus cc or
  550. # acc executable in the $PATH, which just prints an error and exit.
  551. # We deal with this by actually trying to compile a trivial test program.
  552. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  553.   echo $ac_n "checking For C compiler (cached)""... $ac_c" 1>&6
  554. echo "configure:552: checking For C compiler (cached)" >&5
  555.   CC="$ac_cv_prog_CC"
  556.   echo "$ac_t""$CC" 1>&6
  557. elif test -n "$CC"; then
  558.   ac_cv_prog_CC="$CC" # Let the user override the test.
  559.   echo $ac_n "checking For C compiler""... $ac_c" 1>&6
  560. echo "configure:558: checking For C compiler" >&5
  561.   echo "$ac_t""$CC" 1>&6
  562. else
  563.   IFS="${IFS=    }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  564.   echo 'main(){return 0;}' > conftest.$ac_ext
  565.   for ac_prog in gcc acc cc; do
  566. # Extract the first word of "$ac_prog", so it can be a program name with args.
  567.     set dummy $ac_prog; ac_word=$2
  568.     echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  569. echo "configure:567: checking for $ac_word" >&5
  570.     for ac_dir in $PATH; do
  571.       test -z "$ac_dir" && ac_dir=.
  572.       if test -r "$ac_dir/$ac_word"; then
  573.         CC="$ac_prog"
  574.         if eval $ac_compile; then
  575.           ac_cv_prog_CC="$ac_prog"
  576.         fi
  577.         break
  578.       fi
  579.     done
  580.     CC="$ac_cv_prog_CC"
  581.     if test -n "$CC"; then
  582.       echo "$ac_t""$ac_dir/$CC" 1>&6
  583.       break;
  584.     fi
  585.     echo "$ac_t""no" 1>&6
  586.   done
  587.   if test ! -n "$CC"; then
  588.     { echo "configure: error: no C compiler found" 1>&2; exit 1; }
  589.   fi
  590.   IFS="$ac_save_ifs"
  591.   rm -f conftest*
  592. fi
  593.  
  594.  
  595. echo $ac_n "checking whether we are using GNU CC""... $ac_c" 1>&6
  596. echo "configure:594: checking whether we are using GNU CC" >&5
  597. if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  598.   echo $ac_n "(cached) $ac_c" 1>&6
  599. else
  600.   cat > conftest.c <<EOF
  601. #ifdef __GNUC__
  602.   yes;
  603. #endif
  604. EOF
  605. if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  606.   ac_cv_prog_gcc=yes
  607. else
  608.   ac_cv_prog_gcc=no
  609. fi
  610. fi
  611.  
  612. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  613.  
  614. if test $ac_cv_prog_gcc = yes; then
  615.   if test "${CFLAGS+set}" != set; then
  616. echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  617. echo "configure:615: checking whether ${CC-cc} accepts -g" >&5
  618. if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  619.   echo $ac_n "(cached) $ac_c" 1>&6
  620. else
  621.   echo 'void f(){}' > conftest.c
  622. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  623.   ac_cv_prog_gcc_g=yes
  624. else
  625.   ac_cv_prog_gcc_g=no
  626. fi
  627. rm -f conftest*
  628.  
  629. fi
  630.  
  631. echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  632.   fi
  633. fi
  634.  
  635. # Now, figure out what CFLAGS we want.  If the user didn't ask specifically,
  636. # we're going to use some ideas of our own.
  637. if test "${CFLAGS+set}" != set; then
  638.  
  639. # Prefer optimizing, with debugging a second
  640. if test $ac_cv_prog_gcc$ac_cv_prog_gcc_g = yesyes; then
  641.   CFLAGS="-O -g"
  642. else
  643.   CFLAGS=-O
  644. fi
  645.  
  646. echo $ac_n "checking for useful warning options (\$WARN)""... $ac_c" 1>&6
  647. echo "configure:645: checking for useful warning options (\$WARN)" >&5
  648. if test "${WARN+set}" != set; then
  649.   if test $ac_cv_prog_gcc = yes; then
  650.     WARN="-Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes \
  651. -Wwrite-strings"
  652.   elif $CC -flags 2>&1 | grep SunSoft >/dev/null 2>&1 ||
  653.     $CC -flags 2>&1 | grep SunPro >/dev/null 2>&1; then
  654.     if $CC -flags 2>&1 | grep 'checking' | grep '^-vc' > /dev/null 2>&1; then
  655.       WARN=-vc
  656.     elif $CC -flags 2>&1 | grep 'checking' | grep '^-v ' > /dev/null 2>&1; then
  657.       WARN=-v
  658.     fi
  659.     if $CC -flags 2>&1 | grep '^-xstrconst' > /dev/null 2>&1; then
  660.       WARN="${WARN}${WARN+ }-xstrconst"
  661.     fi
  662.   fi
  663.   # Any other compiler's warning flags?
  664. fi
  665. echo "$ac_t""${WARN-none}" 1>&6
  666.  
  667.  
  668. fi
  669. # ^^ end of CFLAGS inference section
  670.  
  671. echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
  672. echo "configure:670: checking for socket in -lsocket" >&5
  673. ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
  674. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  675.   echo $ac_n "(cached) $ac_c" 1>&6
  676. else
  677.   ac_save_LIBS="$LIBS"
  678. LIBS="-lsocket  $LIBS"
  679. cat > conftest.$ac_ext <<EOF
  680. #line 678 "configure"
  681. #include "confdefs.h"
  682. /* Override any gcc2 internal prototype to avoid an error.  */
  683. /* We use char because int might match the return type of a gcc2
  684.     builtin and then its argument prototype would still apply.  */
  685. char socket();
  686.  
  687. int main() {
  688. socket()
  689. ; return 0; }
  690. EOF
  691. if { (eval echo configure:689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  692.   rm -rf conftest*
  693.   eval "ac_cv_lib_$ac_lib_var=yes"
  694. else
  695.   echo "configure: failed program was:" >&5
  696.   cat conftest.$ac_ext >&5
  697.   rm -rf conftest*
  698.   eval "ac_cv_lib_$ac_lib_var=no"
  699. fi
  700. rm -f conftest*
  701. LIBS="$ac_save_LIBS"
  702.  
  703. fi
  704. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  705.   echo "$ac_t""yes" 1>&6
  706.     ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
  707.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  708.   cat >> confdefs.h <<EOF
  709. #define $ac_tr_lib 1
  710. EOF
  711.  
  712.   LIBS="-lsocket $LIBS"
  713.  
  714. else
  715.   echo "$ac_t""no" 1>&6
  716. fi
  717.  
  718. echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
  719. echo "configure:717: checking for gethostbyname in -lnsl" >&5
  720. ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
  721. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  722.   echo $ac_n "(cached) $ac_c" 1>&6
  723. else
  724.   ac_save_LIBS="$LIBS"
  725. LIBS="-lnsl  $LIBS"
  726. cat > conftest.$ac_ext <<EOF
  727. #line 725 "configure"
  728. #include "confdefs.h"
  729. /* Override any gcc2 internal prototype to avoid an error.  */
  730. /* We use char because int might match the return type of a gcc2
  731.     builtin and then its argument prototype would still apply.  */
  732. char gethostbyname();
  733.  
  734. int main() {
  735. gethostbyname()
  736. ; return 0; }
  737. EOF
  738. if { (eval echo configure:736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  739.   rm -rf conftest*
  740.   eval "ac_cv_lib_$ac_lib_var=yes"
  741. else
  742.   echo "configure: failed program was:" >&5
  743.   cat conftest.$ac_ext >&5
  744.   rm -rf conftest*
  745.   eval "ac_cv_lib_$ac_lib_var=no"
  746. fi
  747. rm -f conftest*
  748. LIBS="$ac_save_LIBS"
  749.  
  750. fi
  751. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  752.   echo "$ac_t""yes" 1>&6
  753.     ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
  754.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  755.   cat >> confdefs.h <<EOF
  756. #define $ac_tr_lib 1
  757. EOF
  758.  
  759.   LIBS="-lnsl $LIBS"
  760.  
  761. else
  762.   echo "$ac_t""no" 1>&6
  763. fi
  764.  
  765. echo $ac_n "checking for exp in -lm""... $ac_c" 1>&6
  766. echo "configure:764: checking for exp in -lm" >&5
  767. ac_lib_var=`echo m'_'exp | sed 'y%./+-%__p_%'`
  768. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  769.   echo $ac_n "(cached) $ac_c" 1>&6
  770. else
  771.   ac_save_LIBS="$LIBS"
  772. LIBS="-lm  $LIBS"
  773. cat > conftest.$ac_ext <<EOF
  774. #line 772 "configure"
  775. #include "confdefs.h"
  776. /* Override any gcc2 internal prototype to avoid an error.  */
  777. /* We use char because int might match the return type of a gcc2
  778.     builtin and then its argument prototype would still apply.  */
  779. char exp();
  780.  
  781. int main() {
  782. exp()
  783. ; return 0; }
  784. EOF
  785. if { (eval echo configure:783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  786.   rm -rf conftest*
  787.   eval "ac_cv_lib_$ac_lib_var=yes"
  788. else
  789.   echo "configure: failed program was:" >&5
  790.   cat conftest.$ac_ext >&5
  791.   rm -rf conftest*
  792.   eval "ac_cv_lib_$ac_lib_var=no"
  793. fi
  794. rm -f conftest*
  795. LIBS="$ac_save_LIBS"
  796.  
  797. fi
  798. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  799.   echo "$ac_t""yes" 1>&6
  800.     ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
  801.     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  802.   cat >> confdefs.h <<EOF
  803. #define $ac_tr_lib 1
  804. EOF
  805.  
  806.   LIBS="-lm $LIBS"
  807.  
  808. else
  809.   echo "$ac_t""no" 1>&6
  810. fi
  811.  
  812.  
  813. #All of this is to deal with the RSA legal issues. Basically, what
  814. #we do is look for lib/pgp/pubkey/pgpRSAGlue1.c. If we find it, we
  815. #use PGP's custom RSA routines.  If we don't, we look for
  816. #lib/pgp/pubkey/pgpAltRSAGlu.c.  If we find it, we look for
  817. #../rsaref/install/unix/rsaref.a.  If we find it, we use RSAREF. We
  818. #then also look for lib/pgp/pubkey/pgpRSAKeyGen.c.  If we find it, we
  819. #allow RSA keygeneration.  If we didn't find RSAREF, we look for
  820. #lib/pgp/pubkey/pgpRSAGlue2.c, which contains decrypt
  821. #and verify functionality.  If we find it, we again look for
  822. #lib/pgp/pubkey/pgpRSAKeyGen.c to see if we can generate keys.
  823. #If we didn't find the legacy-mode pgpRSAGlue2.c, we build a version
  824. #with no RSA support whatsoever.  The removal of the two relevant
  825. #source files (pgpRSAGlue[12].c, pgpRSAKeyGen.c and pgpAltRSAGlu.c)
  826. #is handled with the make distribution-* flags.
  827.  
  828. echo $ac_n "checking for internal RSA encrypt/sign support""... $ac_c" 1>&6
  829. echo "configure:827: checking for internal RSA encrypt/sign support" >&5
  830. RSALIB=""
  831. RSAINCS=""
  832. RSAKEYGEN=""
  833. RSAKEY="pgpRSAKey.o"
  834. HAVE_RSAREF=0
  835. if test -f "lib/pgp/pubkey/pgpRSAGlue1.c"; then
  836.   echo "$ac_t""yes" 1>&6
  837.   RSAGLUE="pgpRSAGlue1.o pgpRSAGlue2.o"
  838.   echo $ac_n "checking for lib/pgp/pubkey/pgpRSAKeyGen.c""... $ac_c" 1>&6
  839. echo "configure:837: checking for lib/pgp/pubkey/pgpRSAKeyGen.c" >&5
  840.   if test -f "lib/pgp/pubkey/pgpRSAKeyGen.c"; then
  841.     echo "$ac_t""yes" 1>&6
  842.     RSAKEYGEN="pgpRSAKeyGen.o"
  843.   else
  844.     echo "$ac_t""no" 1>&6
  845.     cat >> confdefs.h <<\EOF
  846. #define NO_RSA_KEYGEN 1
  847. EOF
  848.  
  849.   fi
  850. else
  851.   echo "$ac_t""no" 1>&6
  852.   echo $ac_n "checking for lib/pgp/pubkey/pgpAltRSAGlu.c""... $ac_c" 1>&6
  853. echo "configure:851: checking for lib/pgp/pubkey/pgpAltRSAGlu.c" >&5
  854.   if test -f "lib/pgp/pubkey/pgpAltRSAGlu.c"; then
  855.     echo "$ac_t""yes" 1>&6
  856.     echo $ac_n "checking for RSAREF in ../rsaref/install/unix""... $ac_c" 1>&6
  857. echo "configure:855: checking for RSAREF in ../rsaref/install/unix" >&5
  858.     if test -f "../rsaref/install/unix/rsaref.a"; then
  859.       HAVE_RSAREF=1
  860.       echo "$ac_t""yes" 1>&6
  861.       cat >> confdefs.h <<\EOF
  862. #define USE_RSAREF_FULL 1
  863. EOF
  864.  
  865.       RSAGLUE="pgpAltRSAGlu.o"
  866.       RSALIB="\$(top_builddir)/../rsaref/install/unix/rsaref.a"
  867.       RSAINCS="-I \$(top_builddir)/../rsaref/test"
  868.       RSAINCS="$RSAINCS -I \$(top_builddir)/../rsaref/source"
  869.       echo $ac_n "checking for lib/pgp/pubkey/pgpRSAKeyGen.c""... $ac_c" 1>&6
  870. echo "configure:868: checking for lib/pgp/pubkey/pgpRSAKeyGen.c" >&5
  871.       if test -f "lib/pgp/pubkey/pgpRSAKeyGen.c"; then
  872.         echo "$ac_t""yes" 1>&6
  873.         RSAKEYGEN="pgpRSAKeyGen.o"
  874.       else
  875.         echo "$ac_t""no" 1>&6
  876.         cat >> confdefs.h <<\EOF
  877. #define NO_RSA_KEYGEN 1
  878. EOF
  879.  
  880.       fi
  881.     else
  882.       echo "$ac_t""no" 1>&6
  883.     fi
  884.   else
  885.     echo "$ac_t""no" 1>&6
  886.   fi
  887.   if test "x$HAVE_RSAREF" = "x0"; then
  888.     echo $ac_n "checking for internal RSA decrypt/verify (legacy mode) support""... $ac_c" 1>&6
  889. echo "configure:887: checking for internal RSA decrypt/verify (legacy mode) support" >&5
  890.     if test -f "lib/pgp/pubkey/pgpRSAGlue2.c"; then
  891.       echo "$ac_t""yes" 1>&6
  892.       cat >> confdefs.h <<\EOF
  893. #define USE_RSA_LEGACY 1
  894. EOF
  895.  
  896.       RSAGLUE="pgpRSAGlue2.o"
  897.       echo $ac_n "checking for lib/pgp/pubkey/pgpRSAKeyGen.c""... $ac_c" 1>&6
  898. echo "configure:896: checking for lib/pgp/pubkey/pgpRSAKeyGen.c" >&5
  899.       if test -f "lib/pgp/pubkey/pgpRSAKeyGen.c"; then
  900.         echo "$ac_t""yes" 1>&6
  901.         RSAKEYGEN="pgpRSAKeyGen.o"
  902.       else
  903.         echo "$ac_t""no" 1>&6
  904.         cat >> confdefs.h <<\EOF
  905. #define NO_RSA_KEYGEN 1
  906. EOF
  907.  
  908.       fi
  909.     else
  910.       echo "$ac_t""no" 1>&6
  911.       echo No RSA support included in this version.
  912.       cat >> confdefs.h <<\EOF
  913. #define NO_RSA 1
  914. EOF
  915.  
  916.       RSAGLUE=""
  917.       RSAKEY=""
  918.       cat >> confdefs.h <<\EOF
  919. #define NO_RSA_KEYGEN 1
  920. EOF
  921.  
  922.     fi
  923.   fi
  924. fi
  925.  
  926.  
  927.  
  928.  
  929.  
  930. THIS_DIR=`pwd | sed "s;.*/\(.*\);\1;"`
  931.  
  932.  
  933. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  934. echo "configure:932: checking how to run the C preprocessor" >&5
  935. # On Suns, sometimes $CPP names a directory.
  936. if test -n "$CPP" && test -d "$CPP"; then
  937.   CPP=
  938. fi
  939. if test -z "$CPP"; then
  940. if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  941.   echo $ac_n "(cached) $ac_c" 1>&6
  942. else
  943.     # This must be in double quotes, not single quotes, because CPP may get
  944.   # substituted into the Makefile and "${CC-cc}" will confuse make.
  945.   CPP="${CC-cc} -E"
  946.   # On the NeXT, cc -E runs the code through the compiler's parser,
  947.   # not just through cpp.
  948.   cat > conftest.$ac_ext <<EOF
  949. #line 947 "configure"
  950. #include "confdefs.h"
  951. #include <assert.h>
  952. Syntax Error
  953. EOF
  954. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  955. { (eval echo configure:953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  956. ac_err=`grep -v '^ *+' conftest.out`
  957. if test -z "$ac_err"; then
  958.   :
  959. else
  960.   echo "$ac_err" >&5
  961.   echo "configure: failed program was:" >&5
  962.   cat conftest.$ac_ext >&5
  963.   rm -rf conftest*
  964.   CPP="${CC-cc} -E -traditional-cpp"
  965.   cat > conftest.$ac_ext <<EOF
  966. #line 964 "configure"
  967. #include "confdefs.h"
  968. #include <assert.h>
  969. Syntax Error
  970. EOF
  971. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  972. { (eval echo configure:970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  973. ac_err=`grep -v '^ *+' conftest.out`
  974. if test -z "$ac_err"; then
  975.   :
  976. else
  977.   echo "$ac_err" >&5
  978.   echo "configure: failed program was:" >&5
  979.   cat conftest.$ac_ext >&5
  980.   rm -rf conftest*
  981.   CPP=/lib/cpp
  982. fi
  983. rm -f conftest*
  984. fi
  985. rm -f conftest*
  986.   ac_cv_prog_CPP="$CPP"
  987. fi
  988.   CPP="$ac_cv_prog_CPP"
  989. else
  990.   ac_cv_prog_CPP="$CPP"
  991. fi
  992. echo "$ac_t""$CPP" 1>&6
  993.  
  994.  
  995. # Finally, figure out the command to generate dependencies.
  996. echo $ac_n "checking how to make dependencies""... $ac_c" 1>&6
  997. echo "configure:995: checking how to make dependencies" >&5
  998. if eval "test \"`echo '$''{'ac_cv_prog_DEPEND'+set}'`\" = set"; then
  999.   echo $ac_n "(cached) $ac_c" 1>&6
  1000. else
  1001.   if test -n "$DEPEND"; then
  1002.   ac_cv_prog_DEPEND="$DEPEND"
  1003. else
  1004.   IFS="${IFS=    }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1005.   echo '#include "confdefs.h"' > conftest.c
  1006.   for ac_prog in "$CPP -M" "$CC -xM" "$CC -M"; do
  1007.     echo $ac_prog $CPPFLAGS conftest.c 1>&5;
  1008.     if $ac_prog $CPPFLAGS conftest.c 2>&5 \
  1009.     | egrep "conftest\.o" >/dev/null 2>&1; then
  1010.       ac_cv_prog_DEPEND="$ac_prog $CPPFLAGS"
  1011.       break
  1012.     fi
  1013.   done
  1014.   if test ! -n "$ac_cv_prog_DEPEND"; then
  1015.     ac_cv_prog_DEPEND=:
  1016.   fi
  1017.   IFS="$ac_save_ifs"
  1018.   rm -f conftest*
  1019. fi
  1020. fi
  1021.  
  1022. echo "$ac_t""$ac_cv_prog_DEPEND" 1>&6
  1023. DEPEND="$ac_cv_prog_DEPEND"
  1024.  
  1025.  
  1026. # Find a BSD-compatibile install program, with install-sh as a fallback.
  1027. # Find a good install program.  We prefer a C program (faster),
  1028. # so one script is as good as another.  But avoid the broken or
  1029. # incompatible versions:
  1030. # SysV /etc/install, /usr/sbin/install
  1031. # SunOS /usr/etc/install
  1032. # IRIX /sbin/install
  1033. # AIX /bin/install
  1034. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1035. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1036. # ./install, which can be erroneously created by make from ./install.sh.
  1037. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  1038. echo "configure:1036: checking for a BSD compatible install" >&5
  1039. if test -z "$INSTALL"; then
  1040. if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  1041.   echo $ac_n "(cached) $ac_c" 1>&6
  1042. else
  1043.     IFS="${IFS=     }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
  1044.   for ac_dir in $PATH; do
  1045.     # Account for people who put trailing slashes in PATH elements.
  1046.     case "$ac_dir/" in
  1047.     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  1048.     *)
  1049.       # OSF1 and SCO ODT 3.0 have their own names for install.
  1050.       for ac_prog in ginstall installbsd scoinst install; do
  1051.         if test -f $ac_dir/$ac_prog; then
  1052.       if test $ac_prog = install &&
  1053.             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  1054.         # AIX install.  It has an incompatible calling convention.
  1055.         # OSF/1 installbsd also uses dspmsg, but is usable.
  1056.         :
  1057.       else
  1058.         ac_cv_path_install="$ac_dir/$ac_prog -c"
  1059.         break 2
  1060.       fi
  1061.     fi
  1062.       done
  1063.       ;;
  1064.     esac
  1065.   done
  1066.   IFS="$ac_save_IFS"
  1067.  
  1068. fi
  1069.   if test "${ac_cv_path_install+set}" = set; then
  1070.     INSTALL="$ac_cv_path_install"
  1071.   else
  1072.     # As a last resort, use the slow shell script.  We don't cache a
  1073.     # path for INSTALL within a source directory, because that will
  1074.     # break other packages using the cache if that directory is
  1075.     # removed, or if the path is relative.
  1076.     INSTALL="$ac_install_sh"
  1077.   fi
  1078. fi
  1079. echo "$ac_t""$INSTALL" 1>&6
  1080.  
  1081. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1082. # It thinks the first close brace ends the variable substitution.
  1083. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1084.  
  1085. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1086.  
  1087.  
  1088. # Find "ranlib".  Sone systems don't have or need ranlib.  If so,
  1089. # ":" (do nothing) is used instead.
  1090. # Extract the first word of "ranlib", so it can be a program name with args.
  1091. set dummy ranlib; ac_word=$2
  1092. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1093. echo "configure:1091: checking for $ac_word" >&5
  1094. if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  1095.   echo $ac_n "(cached) $ac_c" 1>&6
  1096. else
  1097.   if test -n "$RANLIB"; then
  1098.   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1099. else
  1100.   IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1101.   for ac_dir in $PATH; do
  1102.     test -z "$ac_dir" && ac_dir=.
  1103.     if test -f $ac_dir/$ac_word; then
  1104.       ac_cv_prog_RANLIB="ranlib"
  1105.       break
  1106.     fi
  1107.   done
  1108.   IFS="$ac_save_ifs"
  1109.   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  1110. fi
  1111. fi
  1112. RANLIB="$ac_cv_prog_RANLIB"
  1113. if test -n "$RANLIB"; then
  1114.   echo "$ac_t""$RANLIB" 1>&6
  1115. else
  1116.   echo "$ac_t""no" 1>&6
  1117. fi
  1118.  
  1119.  
  1120. # Use symlinks (ln -s) if possible.  If not, use hard links (ln).
  1121. echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
  1122. echo "configure:1120: checking whether ln -s works" >&5
  1123. if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  1124.   echo $ac_n "(cached) $ac_c" 1>&6
  1125. else
  1126.   rm -f conftestdata
  1127. if ln -s X conftestdata 2>/dev/null
  1128. then
  1129.   rm -f conftestdata
  1130.   ac_cv_prog_LN_S="ln -s"
  1131. else
  1132.   ac_cv_prog_LN_S=ln
  1133. fi
  1134. fi
  1135. LN_S="$ac_cv_prog_LN_S"
  1136. if test "$ac_cv_prog_LN_S" = "ln -s"; then
  1137.   echo "$ac_t""yes" 1>&6
  1138. else
  1139.   echo "$ac_t""no" 1>&6
  1140. fi
  1141.  
  1142.  
  1143. # Figure out how to test for symlinks...  Check 'test -L' and then 'test -h'
  1144. echo $ac_n "checking how to test for symlinks""... $ac_c" 1>&6
  1145. echo "configure:1143: checking how to test for symlinks" >&5
  1146. if eval "test \"`echo '$''{'ac_cv_prog_TEST_L'+set}'`\" = set"; then
  1147.   echo $ac_n "(cached) $ac_c" 1>&6
  1148. else
  1149.   rm -f conftest
  1150. $ac_cv_prog_LN_S foo conftest
  1151. IFS="${IFS=    }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1152. if ( test -L conftest ); then
  1153.   ac_cv_prog_TEST_L="test -L"
  1154. elif ( test -h conftest ); then
  1155.   ac_cv_prog_TEST_L="test -h"
  1156. else
  1157.   ac_cv_prog_TEST_L="test ! -f"
  1158. fi
  1159. IFS="$ac_save_ifs"
  1160. rm -f conftest*
  1161. fi
  1162.  
  1163. echo "$ac_t""$ac_cv_prog_TEST_L" 1>&6
  1164. TEST_L="$ac_cv_prog_TEST_L"
  1165.  
  1166.  
  1167.  
  1168. # Check that this system has a set of properly working ANSI C header files.
  1169. # In particular, check for the existence of <stdlib.h>, <stdarg.h>,
  1170. # <string.h> and <float.h>. Also check that <string.h> declares mem*,
  1171. # that <stdlib.h> declares free, and that the <ctype.h> macros work
  1172. # with values >= 128.
  1173. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  1174. echo "configure:1172: checking for ANSI C header files" >&5
  1175. if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  1176.   echo $ac_n "(cached) $ac_c" 1>&6
  1177. else
  1178.   cat > conftest.$ac_ext <<EOF
  1179. #line 1177 "configure"
  1180. #include "confdefs.h"
  1181. #include <stdlib.h>
  1182. #include <stdarg.h>
  1183. #include <string.h>
  1184. #include <float.h>
  1185. EOF
  1186. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1187. { (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1188. ac_err=`grep -v '^ *+' conftest.out`
  1189. if test -z "$ac_err"; then
  1190.   rm -rf conftest*
  1191.   ac_cv_header_stdc=yes
  1192. else
  1193.   echo "$ac_err" >&5
  1194.   echo "configure: failed program was:" >&5
  1195.   cat conftest.$ac_ext >&5
  1196.   rm -rf conftest*
  1197.   ac_cv_header_stdc=no
  1198. fi
  1199. rm -f conftest*
  1200.  
  1201. if test $ac_cv_header_stdc = yes; then
  1202.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1203. cat > conftest.$ac_ext <<EOF
  1204. #line 1202 "configure"
  1205. #include "confdefs.h"
  1206. #include <string.h>
  1207. EOF
  1208. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1209.   egrep "memchr" >/dev/null 2>&1; then
  1210.   :
  1211. else
  1212.   rm -rf conftest*
  1213.   ac_cv_header_stdc=no
  1214. fi
  1215. rm -f conftest*
  1216.  
  1217. fi
  1218.  
  1219. if test $ac_cv_header_stdc = yes; then
  1220.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1221. cat > conftest.$ac_ext <<EOF
  1222. #line 1220 "configure"
  1223. #include "confdefs.h"
  1224. #include <stdlib.h>
  1225. EOF
  1226. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1227.   egrep "free" >/dev/null 2>&1; then
  1228.   :
  1229. else
  1230.   rm -rf conftest*
  1231.   ac_cv_header_stdc=no
  1232. fi
  1233. rm -f conftest*
  1234.  
  1235. fi
  1236.  
  1237. if test $ac_cv_header_stdc = yes; then
  1238.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1239. if test "$cross_compiling" = yes; then
  1240.   :
  1241. else
  1242.   cat > conftest.$ac_ext <<EOF
  1243. #line 1241 "configure"
  1244. #include "confdefs.h"
  1245. #include <ctype.h>
  1246. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1247. #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1248. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1249. int main () { int i; for (i = 0; i < 256; i++)
  1250. if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
  1251. exit (0); }
  1252.  
  1253. EOF
  1254. if { (eval echo configure:1252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
  1255. then
  1256.   :
  1257. else
  1258.   echo "configure: failed program was:" >&5
  1259.   cat conftest.$ac_ext >&5
  1260.   rm -fr conftest*
  1261.   ac_cv_header_stdc=no
  1262. fi
  1263. rm -fr conftest*
  1264. fi
  1265.  
  1266. fi
  1267. fi
  1268.  
  1269. echo "$ac_t""$ac_cv_header_stdc" 1>&6
  1270. if test $ac_cv_header_stdc = yes; then
  1271.   cat >> confdefs.h <<\EOF
  1272. #define STDC_HEADERS 1
  1273. EOF
  1274.  
  1275. fi
  1276.  
  1277.  
  1278. # Check that we have <fcntl.h>, <limits.h>, <stdarg.h> and <stdlib.h>
  1279. # individually.
  1280. for ac_hdr in fcntl.h limits.h stdarg.h stdlib.h unistd.h \
  1281.     sys/ioctl.h sys/time.h sys/timeb.h sys/param.h arpa/inet.h \
  1282.     sys/stat.h
  1283. do
  1284. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1285. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1286. echo "configure:1284: checking for $ac_hdr" >&5
  1287. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1288.   echo $ac_n "(cached) $ac_c" 1>&6
  1289. else
  1290.   cat > conftest.$ac_ext <<EOF
  1291. #line 1289 "configure"
  1292. #include "confdefs.h"
  1293. #include <$ac_hdr>
  1294. EOF
  1295. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1296. { (eval echo configure:1294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1297. ac_err=`grep -v '^ *+' conftest.out`
  1298. if test -z "$ac_err"; then
  1299.   rm -rf conftest*
  1300.   eval "ac_cv_header_$ac_safe=yes"
  1301. else
  1302.   echo "$ac_err" >&5
  1303.   echo "configure: failed program was:" >&5
  1304.   cat conftest.$ac_ext >&5
  1305.   rm -rf conftest*
  1306.   eval "ac_cv_header_$ac_safe=no"
  1307. fi
  1308. rm -f conftest*
  1309. fi
  1310. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1311.   echo "$ac_t""yes" 1>&6
  1312.     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1313.   cat >> confdefs.h <<EOF
  1314. #define $ac_tr_hdr 1
  1315. EOF
  1316.  
  1317. else
  1318.   echo "$ac_t""no" 1>&6
  1319. fi
  1320. done
  1321.  
  1322. echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
  1323. echo "configure:1321: checking whether time.h and sys/time.h may both be included" >&5
  1324. if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  1325.   echo $ac_n "(cached) $ac_c" 1>&6
  1326. else
  1327.   cat > conftest.$ac_ext <<EOF
  1328. #line 1326 "configure"
  1329. #include "confdefs.h"
  1330. #include <sys/types.h>
  1331. #include <sys/time.h>
  1332. #include <time.h>
  1333. int main() {
  1334. struct tm *tp;
  1335. ; return 0; }
  1336. EOF
  1337. if { (eval echo configure:1335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1338.   rm -rf conftest*
  1339.   ac_cv_header_time=yes
  1340. else
  1341.   echo "configure: failed program was:" >&5
  1342.   cat conftest.$ac_ext >&5
  1343.   rm -rf conftest*
  1344.   ac_cv_header_time=no
  1345. fi
  1346. rm -f conftest*
  1347. fi
  1348.  
  1349. echo "$ac_t""$ac_cv_header_time" 1>&6
  1350. if test $ac_cv_header_time = yes; then
  1351.   cat >> confdefs.h <<\EOF
  1352. #define TIME_WITH_SYS_TIME 1
  1353. EOF
  1354.  
  1355. fi
  1356.  
  1357.  
  1358. # Verify that the compiler supports const, and that it works.
  1359. # A lot of compilers sort of support const, but they have bugs
  1360. # that will prevent valid programs from compiling.
  1361. echo $ac_n "checking for working const""... $ac_c" 1>&6
  1362. echo "configure:1360: checking for working const" >&5
  1363. if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  1364.   echo $ac_n "(cached) $ac_c" 1>&6
  1365. else
  1366.   cat > conftest.$ac_ext <<EOF
  1367. #line 1365 "configure"
  1368. #include "confdefs.h"
  1369.  
  1370. int main() {
  1371.  
  1372. /* Ultrix mips cc rejects this.  */
  1373. typedef int charset[2]; const charset x;
  1374. /* SunOS 4.1.1 cc rejects this.  */
  1375. char const *const *ccp;
  1376. char **p;
  1377. /* NEC SVR4.0.2 mips cc rejects this.  */
  1378. struct point {int x, y;};
  1379. static struct point const zero = {0,0};
  1380. /* AIX XL C 1.02.0.0 rejects this.
  1381.    It does not let you subtract one const X* pointer from another in an arm
  1382.    of an if-expression whose if-part is not a constant expression */
  1383. const char *g = "string";
  1384. ccp = &g + (g ? g-g : 0);
  1385. /* HPUX 7.0 cc rejects these. */
  1386. ++ccp;
  1387. p = (char**) ccp;
  1388. ccp = (char const *const *) p;
  1389. { /* SCO 3.2v4 cc rejects this.  */
  1390.   char *t;
  1391.   char const *s = 0 ? (char *) 0 : (char const *) 0;
  1392.  
  1393.   *t++ = 0;
  1394. }
  1395. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  1396.   int x[] = {25, 17};
  1397.   const int *foo = &x[0];
  1398.   ++foo;
  1399. }
  1400. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  1401.   typedef const int *iptr;
  1402.   iptr p = 0;
  1403.   ++p;
  1404. }
  1405. { /* AIX XL C 1.02.0.0 rejects this saying
  1406.      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  1407.   struct s { int j; const int *ap[3]; };
  1408.   struct s *b; b->j = 5;
  1409. }
  1410. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  1411.   const int foo = 10;
  1412. }
  1413.  
  1414. ; return 0; }
  1415. EOF
  1416. if { (eval echo configure:1414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1417.   rm -rf conftest*
  1418.   ac_cv_c_const=yes
  1419. else
  1420.   echo "configure: failed program was:" >&5
  1421.   cat conftest.$ac_ext >&5
  1422.   rm -rf conftest*
  1423.   ac_cv_c_const=no
  1424. fi
  1425. rm -f conftest*
  1426. fi
  1427.  
  1428. echo "$ac_t""$ac_cv_c_const" 1>&6
  1429. if test $ac_cv_c_const = no; then
  1430.   cat >> confdefs.h <<\EOF
  1431. #define const 
  1432. EOF
  1433.  
  1434. fi
  1435.  
  1436.  
  1437. # See if we have off_t in <sys/types.h> or <stdlib.h>.
  1438. # If not, define it as "long".
  1439. echo $ac_n "checking for off_t""... $ac_c" 1>&6
  1440. echo "configure:1438: checking for off_t" >&5
  1441. if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
  1442.   echo $ac_n "(cached) $ac_c" 1>&6
  1443. else
  1444.   cat > conftest.$ac_ext <<EOF
  1445. #line 1443 "configure"
  1446. #include "confdefs.h"
  1447. #include <sys/types.h>
  1448. #if STDC_HEADERS
  1449. #include <stdlib.h>
  1450. #include <stddef.h>
  1451. #endif
  1452. EOF
  1453. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1454.   egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1455.   rm -rf conftest*
  1456.   ac_cv_type_off_t=yes
  1457. else
  1458.   rm -rf conftest*
  1459.   ac_cv_type_off_t=no
  1460. fi
  1461. rm -f conftest*
  1462.  
  1463. fi
  1464. echo "$ac_t""$ac_cv_type_off_t" 1>&6
  1465. if test $ac_cv_type_off_t = no; then
  1466.   cat >> confdefs.h <<\EOF
  1467. #define off_t long
  1468. EOF
  1469.  
  1470. fi
  1471.  
  1472.  
  1473. # See if we have size_t similarly. If not, define it as unsigned.
  1474. echo $ac_n "checking for size_t""... $ac_c" 1>&6
  1475. echo "configure:1473: checking for size_t" >&5
  1476. if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  1477.   echo $ac_n "(cached) $ac_c" 1>&6
  1478. else
  1479.   cat > conftest.$ac_ext <<EOF
  1480. #line 1478 "configure"
  1481. #include "confdefs.h"
  1482. #include <sys/types.h>
  1483. #if STDC_HEADERS
  1484. #include <stdlib.h>
  1485. #include <stddef.h>
  1486. #endif
  1487. EOF
  1488. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1489.   egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1490.   rm -rf conftest*
  1491.   ac_cv_type_size_t=yes
  1492. else
  1493.   rm -rf conftest*
  1494.   ac_cv_type_size_t=no
  1495. fi
  1496. rm -f conftest*
  1497.  
  1498. fi
  1499. echo "$ac_t""$ac_cv_type_size_t" 1>&6
  1500. if test $ac_cv_type_size_t = no; then
  1501.   cat >> confdefs.h <<\EOF
  1502. #define size_t unsigned
  1503. EOF
  1504.  
  1505. fi
  1506.  
  1507.  
  1508. # Check for our style of unsigned typedefs in sys/types.h
  1509. cat > conftest.$ac_ext <<EOF
  1510. #line 1508 "configure"
  1511. #include "confdefs.h"
  1512. #include <sys/types.h>
  1513. EOF
  1514. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1515.   egrep "[^a-zA-Z0-9_]uchar[^a-zA-Z0-9_]" >/dev/null 2>&1; then
  1516.   rm -rf conftest*
  1517.   cat >> confdefs.h <<\EOF
  1518. #define HAVE_UCHAR 1
  1519. EOF
  1520.  
  1521. fi
  1522. rm -f conftest*
  1523.  
  1524. cat > conftest.$ac_ext <<EOF
  1525. #line 1523 "configure"
  1526. #include "confdefs.h"
  1527. #include <sys/types.h>
  1528. EOF
  1529. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1530.   egrep "[^a-zA-Z0-9_]ushort[^a-zA-Z0-9_]" >/dev/null 2>&1; then
  1531.   rm -rf conftest*
  1532.   cat >> confdefs.h <<\EOF
  1533. #define HAVE_USHORT 1
  1534. EOF
  1535.  
  1536. fi
  1537. rm -f conftest*
  1538.  
  1539. cat > conftest.$ac_ext <<EOF
  1540. #line 1538 "configure"
  1541. #include "confdefs.h"
  1542. #include <sys/types.h>
  1543. EOF
  1544. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1545.   egrep "[^a-zA-Z0-9_]uint[^a-zA-Z0-9_]" >/dev/null 2>&1; then
  1546.   rm -rf conftest*
  1547.   cat >> confdefs.h <<\EOF
  1548. #define HAVE_UINT 1
  1549. EOF
  1550.  
  1551. fi
  1552. rm -f conftest*
  1553.  
  1554. cat > conftest.$ac_ext <<EOF
  1555. #line 1553 "configure"
  1556. #include "confdefs.h"
  1557. #include <sys/types.h>
  1558. EOF
  1559. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1560.   egrep "[^a-zA-Z0-9_]ulong[^a-zA-Z0-9_]" >/dev/null 2>&1; then
  1561.   rm -rf conftest*
  1562.   cat >> confdefs.h <<\EOF
  1563. #define HAVE_ULONG 1
  1564. EOF
  1565.  
  1566. fi
  1567. rm -f conftest*
  1568.  
  1569.  
  1570. for ac_func in gethrtime clock_gettime clock_getres gettimeofday \
  1571.     getitimer setitimer ftime mkstemp
  1572. do
  1573. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1574. echo "configure:1572: checking for $ac_func" >&5
  1575. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1576.   echo $ac_n "(cached) $ac_c" 1>&6
  1577. else
  1578.   cat > conftest.$ac_ext <<EOF
  1579. #line 1577 "configure"
  1580. #include "confdefs.h"
  1581. /* System header to define __stub macros and hopefully few prototypes,
  1582.     which can conflict with char $ac_func(); below.  */
  1583. #include <assert.h>
  1584. /* Override any gcc2 internal prototype to avoid an error.  */
  1585. /* We use char because int might match the return type of a gcc2
  1586.     builtin and then its argument prototype would still apply.  */
  1587. char $ac_func();
  1588.  
  1589. int main() {
  1590.  
  1591. /* The GNU C library defines this for functions which it implements
  1592.     to always fail with ENOSYS.  Some functions are actually named
  1593.     something starting with __ and the normal name is an alias.  */
  1594. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1595. choke me
  1596. #else
  1597. $ac_func();
  1598. #endif
  1599.  
  1600. ; return 0; }
  1601. EOF
  1602. if { (eval echo configure:1600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  1603.   rm -rf conftest*
  1604.   eval "ac_cv_func_$ac_func=yes"
  1605. else
  1606.   echo "configure: failed program was:" >&5
  1607.   cat conftest.$ac_ext >&5
  1608.   rm -rf conftest*
  1609.   eval "ac_cv_func_$ac_func=no"
  1610. fi
  1611. rm -f conftest*
  1612. fi
  1613.  
  1614. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1615.   echo "$ac_t""yes" 1>&6
  1616.     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1617.   cat >> confdefs.h <<EOF
  1618. #define $ac_tr_func 1
  1619. EOF
  1620.  
  1621. else
  1622.   echo "$ac_t""no" 1>&6
  1623. fi
  1624. done
  1625.  
  1626.  
  1627. #We have to do this after everything else, otherwise the variable in
  1628. #the libs path with blow up checking for other functions.
  1629. #This sets the RSALIB (i.e., RSAREF) if any onto the end of the lib
  1630. #path:
  1631. LIBS="$LIBS $RSALIB"
  1632.  
  1633. # The big bang! Produce the output files. This is config.cache, and
  1634. # config.status, which builds the config.h file and a long list of
  1635. # Makefiles.
  1636. trap '' 1 2 15
  1637. cat > confcache <<\EOF
  1638. # This file is a shell script that caches the results of configure
  1639. # tests run on this system so they can be shared between configure
  1640. # scripts and configure runs.  It is not useful on other systems.
  1641. # If it contains results you don't want to keep, you may remove or edit it.
  1642. #
  1643. # By default, configure uses ./config.cache as the cache file,
  1644. # creating it if it does not exist already.  You can give configure
  1645. # the --cache-file=FILE option to use a different cache file; that is
  1646. # what configure does when it calls configure scripts in
  1647. # subdirectories, so they share the cache.
  1648. # Giving --cache-file=/dev/null disables caching, for debugging configure.
  1649. # config.status only pays attention to the cache file if you give it the
  1650. # --recheck option to rerun configure.
  1651. #
  1652. EOF
  1653. # The following way of writing the cache mishandles newlines in values,
  1654. # but we know of no workaround that is simple, portable, and efficient.
  1655. # So, don't put newlines in cache variables' values.
  1656. # Ultrix sh set writes to stderr and can't be redirected directly,
  1657. # and sets the high bit in the cache file unless we assign to the vars.
  1658. (set) 2>&1 |
  1659.   case `(ac_space=' '; set) 2>&1` in
  1660.   *ac_space=\ *)
  1661.     # `set' does not quote correctly, so add quotes (double-quote substitution
  1662.     # turns \\\\ into \\, and sed turns \\ into \).
  1663.     sed -n \
  1664.       -e "s/'/'\\\\''/g" \
  1665.       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
  1666.     ;;
  1667.   *)
  1668.     # `set' quotes correctly as required by POSIX, so do not add quotes.
  1669.     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
  1670.     ;;
  1671.   esac >> confcache
  1672. if cmp -s $cache_file confcache; then
  1673.   :
  1674. else
  1675.   if test -w $cache_file; then
  1676.     echo "updating cache $cache_file"
  1677.     cat confcache > $cache_file
  1678.   else
  1679.     echo "not updating unwritable cache $cache_file"
  1680.   fi
  1681. fi
  1682. rm -f confcache
  1683.  
  1684. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' \
  1685.     1 2 15
  1686.  
  1687. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1688. # Let make expand exec_prefix.
  1689. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1690.  
  1691. # Any assignment to VPATH causes Sun make to only execute
  1692. # the first set of double-colon rules, so remove it if not needed.
  1693. # If there is a colon in the path, we need to keep it.
  1694. if test "x$srcdir" = x.; then
  1695.     ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1696. fi
  1697.  
  1698. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1699.  
  1700. DEFS=-DHAVE_CONFIG_H
  1701.  
  1702. # Without the "./", some shells look in PATH for config.status.
  1703. : ${CONFIG_STATUS=./config.status}
  1704.  
  1705. echo creating $CONFIG_STATUS
  1706. rm -f $CONFIG_STATUS
  1707. cat > $CONFIG_STATUS <<EOF
  1708. #! /bin/sh
  1709. # Generated automatically by configure.
  1710. # Run this file to recreate the current configuration.
  1711. # This directory was configured as follows,
  1712. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1713. #
  1714. # $0 $ac_configure_args
  1715. #
  1716. # Compiler output produced by configure, useful for debugging
  1717. # configure, is in ./config.log if it exists.
  1718.  
  1719. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1720. for ac_option
  1721. do
  1722.   case "\$ac_option" in
  1723.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1724.     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args" \
  1725.         "--no-create --no-recursion"
  1726.     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create \
  1727.         --no-recursion ;;
  1728.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1729.     echo "$CONFIG_STATUS generated by autoconf version 2.12"
  1730.     exit 0 ;;
  1731.   -help | --help | --hel | --he | --h)
  1732.     echo "\$ac_cs_usage"; exit 0 ;;
  1733.   *) echo "\$ac_cs_usage"; exit 1 ;;
  1734.   esac
  1735. done
  1736.  
  1737. ac_given_srcdir=$srcdir
  1738. ac_given_INSTALL="$INSTALL"
  1739.  
  1740. trap 'rm -fr `echo "Makefile lib/Makefile lib/bn/Makefile lib/pgp/Makefile
  1741.     lib/pgp/include/Makefile lib/pgp/helper/Makefile
  1742.     lib/pgp/compress/Makefile lib/pgp/hash/Makefile
  1743.     lib/pgp/cipher/Makefile lib/pgp/random/Makefile
  1744.     lib/pgp/pubkey/Makefile lib/pgp/pipe/Makefile
  1745.     lib/pgp/pipe/utils/Makefile lib/pgp/pipe/file/Makefile
  1746.     lib/pgp/pipe/sig/Makefile lib/pgp/pipe/crypt/Makefile
  1747.     lib/pgp/pipe/text/Makefile lib/pgp/pipe/parser/Makefile
  1748.     lib/pgp/utils/Makefile lib/pgp/keys/Makefile lib/pgp/keydb/Makefile
  1749.     lib/ttyui/Makefile lib/simple/Makefile apps/Makefile
  1750.     apps/common/Makefile apps/pgp/Makefile apps/pgpk/Makefile
  1751.     man/Makefile apps/pgpk.old/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; \
  1752.     exit 1' 1 2 15
  1753.  
  1754. # Protect against being on the right side of a sed subst in config.status.
  1755. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
  1756.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  1757. $ac_vpsub
  1758. $extrasub
  1759. s%@CFLAGS@%$CFLAGS%g
  1760. s%@CPPFLAGS@%$CPPFLAGS%g
  1761. s%@CXXFLAGS@%$CXXFLAGS%g
  1762. s%@DEFS@%$DEFS%g
  1763. s%@LDFLAGS@%$LDFLAGS%g
  1764. s%@LIBS@%$LIBS%g
  1765. s%@exec_prefix@%$exec_prefix%g
  1766. s%@prefix@%$prefix%g
  1767. s%@program_transform_name@%$program_transform_name%g
  1768. s%@bindir@%$bindir%g
  1769. s%@sbindir@%$sbindir%g
  1770. s%@libexecdir@%$libexecdir%g
  1771. s%@datadir@%$datadir%g
  1772. s%@sysconfdir@%$sysconfdir%g
  1773. s%@sharedstatedir@%$sharedstatedir%g
  1774. s%@localstatedir@%$localstatedir%g
  1775. s%@libdir@%$libdir%g
  1776. s%@includedir@%$includedir%g
  1777. s%@oldincludedir@%$oldincludedir%g
  1778. s%@infodir@%$infodir%g
  1779. s%@mandir@%$mandir%g
  1780. s%@CC@%$CC%g
  1781. s%@WARN@%$WARN%g
  1782. s%@RSAGLUE@%$RSAGLUE%g
  1783. s%@RSAINCS@%$RSAINCS%g
  1784. s%@RSAKEYGEN@%$RSAKEYGEN%g
  1785. s%@RSAKEY@%$RSAKEY%g
  1786. s%@THIS_DIR@%$THIS_DIR%g
  1787. s%@CPP@%$CPP%g
  1788. s%@DEPEND@%$DEPEND%g
  1789. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1790. s%@INSTALL_DATA@%$INSTALL_DATA%g
  1791. s%@RANLIB@%$RANLIB%g
  1792. s%@LN_S@%$LN_S%g
  1793. s%@TEST_L@%$TEST_L%g
  1794.  
  1795. CEOF
  1796. EOF
  1797. cat >> $CONFIG_STATUS <<EOF
  1798.  
  1799. CONFIG_FILES=\${CONFIG_FILES-"Makefile lib/Makefile lib/bn/Makefile lib/pgp/Makefile
  1800.     lib/pgp/include/Makefile lib/pgp/helper/Makefile
  1801.     lib/pgp/compress/Makefile lib/pgp/hash/Makefile
  1802.     lib/pgp/cipher/Makefile lib/pgp/random/Makefile
  1803.     lib/pgp/pubkey/Makefile lib/pgp/pipe/Makefile
  1804.     lib/pgp/pipe/utils/Makefile lib/pgp/pipe/file/Makefile
  1805.     lib/pgp/pipe/sig/Makefile lib/pgp/pipe/crypt/Makefile
  1806.     lib/pgp/pipe/text/Makefile lib/pgp/pipe/parser/Makefile
  1807.     lib/pgp/utils/Makefile lib/pgp/keys/Makefile lib/pgp/keydb/Makefile
  1808.     lib/ttyui/Makefile lib/simple/Makefile apps/Makefile
  1809.     apps/common/Makefile apps/pgp/Makefile apps/pgpk/Makefile
  1810.     man/Makefile apps/pgpk.old/Makefile"}
  1811. CONFIG_PRE=\${CONFIG_PRE-"config/pre.in"}
  1812. CONFIG_POST=\${CONFIG_POST-"config/post.in"}
  1813. EOF
  1814. cat >> $CONFIG_STATUS <<\EOF
  1815. # test for pre and post files, to make sure they exist
  1816. if test -r "$ac_given_srcdir/$CONFIG_PRE"; then
  1817.   ac_config_pre="$ac_given_srcdir/$CONFIG_PRE"
  1818.   echo "Using $ac_config_pre for pre-makefile"
  1819. else
  1820.   ac_config_pre=""
  1821.   echo "No file $CONFIG_PRE"
  1822. fi
  1823.  
  1824. if test -r "$ac_given_srcdir/$CONFIG_POST"; then
  1825.   ac_config_post="$ac_given_srcdir/$CONFIG_POST"
  1826.   echo "Using $ac_config_post for post-makefile"
  1827. else
  1828.   ac_config_post=""
  1829.   echo "No file $CONFIG_POST"
  1830. fi
  1831.  
  1832. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1833.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  1834.   case "$ac_file" in
  1835.   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  1836.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1837.   *) ac_file_in="${ac_file}.in" ;;
  1838.   esac
  1839.  
  1840.   # Adjust relative srcdir, etc. for subdirectories.
  1841.  
  1842.   # Remove last slash and all that follows it.  Not all systems have dirname.
  1843.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1844.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1845.     # The file is in a subdirectory.
  1846.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  1847.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1848.     # A "../" for each directory in $ac_dir_suffix.
  1849.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1850.   else
  1851.     ac_dir_suffix= ac_dots=
  1852.   fi
  1853.  
  1854.   case "$ac_given_srcdir" in
  1855.   .)  srcdir=.
  1856.       if test -z "$ac_dots"; then top_srcdir=.
  1857.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1858.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"
  1859.       top_srcdir="$ac_given_srcdir" ;;
  1860.   *) # Relative path.
  1861.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1862.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1863.   esac
  1864.  
  1865.   case "$ac_given_INSTALL" in
  1866.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1867.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1868.   esac
  1869.   echo creating "$ac_file"
  1870.   rm -f "$ac_file"
  1871.   conf_in_file="`echo $ac_file_in|sed 's%.*/%%'`"
  1872.   configure_input="Generated automatically from $conf_in_file by configure."
  1873.   case "$ac_file" in
  1874.   *Makefile*) ac_comsub="1i\\
  1875. # $configure_input" ;;
  1876.   *) ac_comsub= ;;
  1877.   esac
  1878.   sed -e "$ac_comsub
  1879. s%@configure_input@%$configure_input%g
  1880. s%@srcdir@%$srcdir%g
  1881. s%@top_srcdir@%$top_srcdir%g
  1882. s%@top_builddir@%$ac_dots.%g
  1883. s%@dir_suffix@%$ac_dir_suffix%g
  1884. s%@INSTALL@%$INSTALL%g
  1885. " -f conftest.subs $ac_config_pre $ac_given_srcdir/$ac_file_in \
  1886.         $ac_config_post > $ac_file
  1887. fi; done
  1888. rm -f conftest.subs
  1889.  
  1890. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  1891. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  1892. #
  1893. # ac_d sets the value in "#define NAME VALUE" lines.
  1894. ac_dA='s%^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  1895. ac_dB='\([     ][     ]*\)[^     ]*%\1#\2'
  1896. ac_dC='\3'
  1897. ac_dD='%g'
  1898. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  1899. ac_uA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  1900. ac_uB='\([     ]\)%\1#\2define\3'
  1901. ac_uC=' '
  1902. ac_uD='\4%g'
  1903. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  1904. ac_eA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  1905. ac_eB='$%\1#\2define\3'
  1906. ac_eC=' '
  1907. ac_eD='%g'
  1908.  
  1909. if test "${CONFIG_HEADERS+set}" != set; then
  1910. EOF
  1911. cat >> $CONFIG_STATUS <<EOF
  1912.   CONFIG_HEADERS="config.h"
  1913. EOF
  1914. cat >> $CONFIG_STATUS <<\EOF
  1915. fi
  1916. for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  1917.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  1918.   case "$ac_file" in
  1919.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  1920.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1921.   *) ac_file_in="${ac_file}.in" ;;
  1922.   esac
  1923.  
  1924.   echo creating $ac_file
  1925.  
  1926.   rm -f conftest.frag conftest.in conftest.out
  1927.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  1928.   cat $ac_file_inputs > conftest.in
  1929.  
  1930. EOF
  1931.  
  1932. # Transform confdefs.h into a sed script conftest.vals that substitutes
  1933. # the proper values into config.h.in to produce config.h.  And first:
  1934. # Protect against being on the right side of a sed subst in config.status.
  1935. # Protect against being in an unquoted here document in config.status.
  1936. rm -f conftest.vals
  1937. cat > conftest.hdr <<\EOF
  1938. s/[\\&%]/\\&/g
  1939. s%[\\$`]%\\&%g
  1940. s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  1941. s%ac_d%ac_u%gp
  1942. s%ac_u%ac_e%gp
  1943. EOF
  1944. sed -n -f conftest.hdr confdefs.h > conftest.vals
  1945. rm -f conftest.hdr
  1946.  
  1947. # This sed command replaces #undef with comments.  This is necessary, for
  1948. # example, in the case of _POSIX_SOURCE, which is predefined and required
  1949. # on some systems where configure will not decide to define it.
  1950. cat >> conftest.vals <<\EOF
  1951. s%^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  1952. EOF
  1953.  
  1954. # Break up conftest.vals because some shells have a limit on
  1955. # the size of here documents, and old seds have small limits too.
  1956.  
  1957. rm -f conftest.tail
  1958. while :
  1959. do
  1960.   ac_lines=`grep -c . conftest.vals`
  1961.   # grep -c gives empty output for an empty file on some AIX systems.
  1962.   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  1963.   # Write a limited-size here document to conftest.frag.
  1964.   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  1965.   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  1966.   echo 'CEOF
  1967.   sed -f conftest.frag conftest.in > conftest.out
  1968.   rm -f conftest.in
  1969.   mv conftest.out conftest.in
  1970. ' >> $CONFIG_STATUS
  1971.   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  1972.   rm -f conftest.vals
  1973.   mv conftest.tail conftest.vals
  1974. done
  1975. rm -f conftest.vals
  1976.  
  1977. cat >> $CONFIG_STATUS <<\EOF
  1978.   rm -f conftest.frag conftest.h
  1979.   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  1980.   cat conftest.in >> conftest.h
  1981.   rm -f conftest.in
  1982.   if cmp -s $ac_file conftest.h 2>/dev/null; then
  1983.     echo "$ac_file is unchanged"
  1984.     rm -f conftest.h
  1985.   else
  1986.     # Remove last slash and all that follows it.  Not all systems have dirname.
  1987.       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1988.       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1989.       # The file is in a subdirectory.
  1990.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  1991.     fi
  1992.     rm -f $ac_file
  1993.     mv conftest.h $ac_file
  1994.   fi
  1995. fi; done
  1996.  
  1997.  
  1998.  
  1999. exit 0
  2000. EOF
  2001. chmod +x $CONFIG_STATUS
  2002. rm -fr confdefs* $ac_clean_files
  2003. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  2004.  
  2005.